# Uncomment the next line to define a global platform for your project
 platform :ios, '12.0'

target 'Nairacup' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!

  pod 'IQKeyboardManagerSwift', '6.5.11'
  pod 'CryptoSwift', '1.0'
  pod 'AppsFlyerFramework'
  pod 'KeychainAccess', '4.2.1'
#  pod 'Alamofire', '5.4.3'

  target 'NairacupTests' do
    inherit! :search_paths
    # Pods for testing
  end

  target 'NairacupUITests' do
    # Pods for testing
  end
  
  post_install do |installer|
    installer.pods_project.targets.each do |target|
      target.build_configurations.each do |config|
        xcconfig_path = config.base_configuration_reference.real_path
        xcconfig = File.read(xcconfig_path)
        xcconfig_mod = xcconfig.gsub(/DT_TOOLCHAIN_DIR/, "TOOLCHAIN_DIR")
        File.open(xcconfig_path, "w") { |file| file << xcconfig_mod }
      end
    end
  end

end
